<h3>Directive can have multiple meanings. Each variant is separated with horizontal line</h3><hr>
<p><b>syntax:</b> <i>index file [file...] </i>
</p><p><b>default:</b> <i>index index.html</i>
</p><p><b>context:</b> <i>http, server, location</i>
</p><p>Directive determines the file(s) which will be used as the index. It's possible to use variables in the name of file.
The presence of the files is checked in the order of their enumeration. A file with an absolute path can be put at the end.
Example using a variable:
</p>
<pre class="code"><span class="kw3">index</span>  <span class="kw3">index</span>.<span class="re0">$geo</span>.html  index<span class="nu0">.0</span>.html  /<span class="kw3">index</span>.html;</pre>
<p>If you want to automatically generate an index from a directory listing, use autoindex on.
</p><p><br />
</p>
<br><i>Module: NginxHttpCoreModule</i><hr>
<p><b>syntax:</b> <i>index file-path [file-path [ ... ] ];</i>
</p><p><b>default:</b> <i>no</i>
</p><p><b>context:</b> <i>server, location</i>
</p>
<br><i>Module: NginxHttpIndexModule</i>